package cn.b.sky.mes.pp.dao;

import java.util.List;

import cn.b.sky.mes.pp.model.OperationTaskConfirm;
import cn.b.sky.mes.pp.model.condition.OperationTaskConfirmCondition;

/**
 * 
 * <strong>Title : OperationTaskConfirmDao.java<br>
 * </strong> <strong>Package : cn.b.sky.mes.pp.dao<br>
 * </strong> <strong>Description : </strong>工序任务单报工数据接口<br>
 * <strong>Create on : 2016-8-3 下午1:52:56<br>
 * </strong>
 * <p>
 * 
 * @author JinQuan.Fu<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 *          <strong>修改历史:</strong><br>
 *          修改人|修改日期|修改描述<br>
 *          -------------------------------------------<br>
 * <br>
 * <br>
 */
public interface OperationTaskConfirmDao {

	/**
	 * 
	 * <strong>Title : getOperationTaskConfirm<br>
	 * </strong> <strong>Description : </strong>根据工序任务单号查询工序任务单报工br>
	 * <strong>Create on : 2016-8-3 下午3:04:40<br>
	 * </strong>
	 * <p>
	 * 
	 * @param operationTaskNum
	 * @return List<OperationTaskConfirm>
	 * @throws
	 * @author JinQuan.Fu<br>
	 * @version <strong>v1.0.0</strong><br>
	 * <br>
	 *          <strong>修改历史:</strong><br>
	 *          修改人 | 修改日期 | 修改描述<br>
	 *          -------------------------------------------<br>
	 * <br>
	 * <br>
	 */
	List<OperationTaskConfirm> getOperationTaskConfirmByCondition(
			OperationTaskConfirmCondition condition);

	/**
	 * 
	 * <strong>Title : getOperationTaskConfirmCountByCondition<br>
	 * </strong> <strong>Description : </strong>根据条件查询工序任务单报工总数<br>
	 * <strong>Create on : 2016-8-3 下午3:44:17<br>
	 * </strong>
	 * <p>
	 * 
	 * @param condition
	 * @return int
	 * @throws
	 * @author JinQuan.Fu<br>
	 * @version <strong>v1.0.0</strong><br>
	 * <br>
	 *          <strong>修改历史:</strong><br>
	 *          修改人 | 修改日期 | 修改描述<br>
	 *          -------------------------------------------<br>
	 * <br>
	 * <br>
	 */
	int getOperationTaskConfirmCountByCondition(
			OperationTaskConfirmCondition condition);

	/**
	 * 
	 * <strong>Title : getConfirmRecordSelectByCondition<br>
	 * </strong> <strong>Description : </strong>根据条件查询报工记录<br>
	 * <strong>Create on : 2016-8-10 下午1:43:17<br>
	 * </strong>
	 * <p>
	 * 
	 * @param condition
	 * @return List<OperationTask>
	 * @throws
	 * @author ZhiPeng.Tong<br>
	 * @version <strong>v1.0.0</strong><br>
	 * <br>
	 *          <strong>修改历史:</strong><br>
	 *          修改人 | 修改日期 | 修改描述<br>
	 *          -------------------------------------------<br>
	 * <br>
	 * <br>
	 */
	List<OperationTaskConfirm> getConfirmRecordSelectByCondition(
			OperationTaskConfirmCondition condition);

	/**
	 * 
	 * <strong>Title : getConfirmRecordSelectCountByCondition<br>
	 * </strong> <strong>Description : </strong>根据条件查询报工记录总数<br>
	 * <strong>Create on : 2016-8-10 下午1:45:05<br>
	 * </strong>
	 * <p>
	 * 
	 * @param condition
	 * @return int
	 * @throws
	 * @author ZhiPeng.Tong<br>
	 * @version <strong>v1.0.0</strong><br>
	 * <br>
	 *          <strong>修改历史:</strong><br>
	 *          修改人 | 修改日期 | 修改描述<br>
	 *          -------------------------------------------<br>
	 * <br>
	 * <br>
	 */
	int getConfirmRecordSelectCountByCondition(
			OperationTaskConfirmCondition condition);

	/**
	 * 
	 * <strong>Title : selectAllConfirmRecordByCondition<br>
	 * </strong> <strong>Description : </strong>报工记录查询不分页<br>
	 * <strong>Create on : 2016-8-11 下午1:41:28<br>
	 * </strong>
	 * <p>
	 * 
	 * @param condition
	 * @return List<Map<String,Object>>
	 * @throws
	 * @author ZhiPeng.Tong<br>
	 * @version <strong>v1.0.0</strong><br>
	 * <br>
	 *          <strong>修改历史:</strong><br>
	 *          修改人 | 修改日期 | 修改描述<br>
	 *          -------------------------------------------<br>
	 * <br>
	 * <br>
	 */
	List<OperationTaskConfirm> selectAllConfirmRecordByCondition(
			OperationTaskConfirmCondition condition);
}